//
//  CJEditCompanyMessageCell.m
//  Boss
//
//  Created by admin on 2018/9/15.
//  Copyright © 2018年 admin. All rights reserved.
//

#import "CJEditCompanyMessageCell.h"
@interface CJEditCompanyMessageCell()

@property (strong, nonatomic) IBOutlet UILabel *industryName;
@property (strong, nonatomic) IBOutlet UILabel *companyName;
@property (strong, nonatomic) IBOutlet UILabel *brandName;

@end
@implementation CJEditCompanyMessageCell

-(void)setFirmModel:(CJFirmModel *)firmModel
{
    _firmModel = firmModel;
    self.industryName.text = firmModel.firmType;
    self.companyName.text = firmModel.firmIntroduction;
    self.brandName.text = firmModel.brandName;
}



- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (IBAction)clickBrandName:(id)sender {
    
    if ([self.delegate respondsToSelector:@selector(clickBrandActionWithBrandName:)]) {
        [self.delegate clickBrandActionWithBrandName:@""];
    }
    
    
}

- (IBAction)clickComPanyIntro:(id)sender {
    if ([self.delegate respondsToSelector:@selector(clickCompanyNameWithCompanyName:)]) {
        [self.delegate clickCompanyNameWithCompanyName:@""];
    }
}

- (IBAction)clickIndustry:(id)sender {
    if ([self.delegate respondsToSelector:@selector(clickIndustryActionWithIndustryName:)]) {
        [self.delegate clickIndustryActionWithIndustryName:@""];
    }
}







@end
